/****************************************************
          File Name:9-1.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sun 21 Dec 2014 02:29:29 PM CST
*****************************************************/

#include<iostream>
#include"golf.h"

int main()
{
    golf andy;

    setgolf(andy);
    showgolf(andy);
    setgolf(andy, "abby cin", 309);
    showgolf(andy);
    std::cout << "Enter new handicap: ";
    int tmp;
    std::cin >> tmp;
    handicap(andy, tmp);
    showgolf(andy);

    return 0;
}
